<?php
class ModelMessageSuperPolice extends Model {
	public function getSuperPolices(){
		$query = $this->db->query("SELECT   mna.*,cc.title as community_name FROM  ".DB_PREFIX."config_police_to_super cpts left join " . DB_PREFIX . "config_police mna on(mna.police_id=cpts.police_id) left join ".DB_PREFIX."config_community cc on(cc.community_id=mna.community_id) ");
		return $query->rows;
	}
}
?>